package simorg.view;

import java.util.HashMap;

import org.dom4j.Element;

public class ViewOptions extends HashMap<String, String> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public void buildDomainXml(Element root) {
		Element flashRoot = root.addElement("viewoptions");
		for ( String key : this.keySet()) {
			Element keyElement = flashRoot.addElement(key);
			keyElement.setText(this.get(key));
		}
		return;
	}
}
